    <style type="text/css">
@import "<?= base_url();?>css/jquery.datepick.css";
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="<?= base_url();?>js/jquery.datepick.js"></script>
<script type="text/javascript">
$(function() {
  $('#range2Picker').datepick({ 
    rangeSelect: true, monthsToShow: 2});
});

</script>

<div id="range2Picker"></p>